package com.spdzen.model;


import com.baomidou.mybatisplus.activerecord.Model;
import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.annotations.TableName;
import com.baomidou.mybatisplus.annotations.TableId;
import java.io.Serializable;


/**
 * <p>
 * 微信消息回复
 * </p>
 *
 * @author accountwcx@qq.com
 * @since 2017-03-16
 */
@TableName("spd_wechat_reply")
public class WechatReply extends Model<WechatReply> {

    private static final long serialVersionUID = 1L;

    /**
     * 自增主键
     */

	@TableId("id")
	private Long id;
    /**
     * 回复分类，1自定义关键字回复，2关注回复，3默认回复
     */

	@TableField("reply_type")
	private Integer replyType;
    /**
     * 自定义关键字
     */

	@TableField("keyword")
	private String keyword;
    /**
     * 消息类型，支持text和news
     */

	@TableField("msg_type")
	private String msgType;
    /**
     * 文本消息内容，图文消息JSON序列化后的字符串
     */

	@TableField("content")
	private String content;


	public Long getId() {
		return id;
	}

	public WechatReply setId(Long id) {
		this.id = id;
		return this;
	}

	public Integer getReplyType() {
		return replyType;
	}

	public WechatReply setReplyType(Integer replyType) {
		this.replyType = replyType;
		return this;
	}

	public String getKeyword() {
		return keyword;
	}

	public WechatReply setKeyword(String keyword) {
		this.keyword = keyword;
		return this;
	}

	public String getMsgType() {
		return msgType;
	}

	public WechatReply setMsgType(String msgType) {
		this.msgType = msgType;
		return this;
	}

	public String getContent() {
		return content;
	}

	public WechatReply setContent(String content) {
		this.content = content;
		return this;
	}

	@Override
	protected Serializable pkVal() {
		return this.id;
	}

}